import 'package:flutter/material.dart';
import 'package:lib_common/components/widget/ntt_error_status.dart';

class ErrorPage extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    return _ErrorPageState();
  }
}

class _ErrorPageState extends State<ErrorPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: NttErrorStatus(
        statusType: NttErrorStatusType.error,
        message: "网络错误",
        buttonText: "点击重试",
        onButtonClick: (){
          debugPrint("点击了按钮");
        },
      ),
    );
  }
}
